package com.hhss.qishi.entity;

import com.hhss.qishi.entity.common.BasePojo;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.validation.constraints.NotEmpty;

/**
 * @Auther: zcc
 * @Date: 19-6-20 14:46
 * @Description: 图片实体
 */
@Table(name = "tb_picture")
public class Picture extends BasePojo {

    private static final long serialVersionUID = 3070000414274078791L;

    /**
     * 照片名称
     */
    @NotEmpty
    @Column(name = "picture_name")
    private String pictureName;

    /**
     * 主题
     */
    @Column(name = "theme")
    private String theme;

    /**
     * 摘要
     */
    @Column(name = "summary")
    private String summary;

    /**
     * 点击数
     */
    @Column(name = "hits")
    private String hits;

    /**
     * 是否公开
     */
    @Column(name = "is_public")
    private String isPublic;

    /**
     * 是否置顶
     */
    @Column(name = "is_topping")
    private String isTopping;

    /**
     * 备注
     */
    @Column(name = "remark")
    private String remark;

    public String getPictureName() {
        return pictureName;
    }

    public void setPictureName(String pictureName) {
        this.pictureName = pictureName;
    }

    public String getTheme() {
        return theme;
    }

    public void setTheme(String theme) {
        this.theme = theme;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getHits() {
        return hits;
    }

    public void setHits(String hits) {
        this.hits = hits;
    }

    public String getIsPublic() {
        return isPublic;
    }

    public void setIsPublic(String isPublic) {
        this.isPublic = isPublic;
    }

    public String getIsTopping() {
        return isTopping;
    }

    public void setIsTopping(String isTopping) {
        this.isTopping = isTopping;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
